<template>
  <div>
    <el-date-picker 
      size="mini" 
      :type="comp.config.dateType" 
      placeholder="请选择"
      v-model="comp.config.defaultValue"
      :format="comp.config.dateFormat"
      style="width: 100%"
      :value-format="comp.config.valueFormat"
      />
    <slot/>
  </div>
</template>

<script>

export default {
  name: "dateView",
  components: {},
  props: ["comp"],
  data() {
    return {};
  },
  computed: {},
  methods: {},
  mounted() {

  }
}
</script>,
<style scoped>

</style>
